package com.luzhikun.CRMProject;

import com.google.gson.Gson;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author Rookie Coder
 * @Description
 * @Date
 **/
public class Test {
    public static void main(String[] args) {
        List list=new ArrayList<>();
        list.add(new City(1,"吴杰",1));
        list.add(new City(2,"吴杰",2));
        String s = new Gson().toJson(list);
        System.out.println(s);

    }
}
